package com.heisenhub.uua.controller;

import com.heisenhub.common.oauth.annotation.ApiResourceOpen;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.SessionAttributes;

import javax.servlet.http.HttpServletRequest;

@Controller
@RequestMapping("/authcation")
@SessionAttributes("authorizationRequest")
public class BootGrantController {


    @RequestMapping("/login")
    public String loginPage(Model model, HttpServletRequest request) {
        //跳转到登陆页
        return "login";
    }


}
